/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class NursingTypeEnum extends IntEnum
{
    public static final int NURSING_VALUE = 1;
    public static final int MATERNITY_VALUE = 2;

    public static final NursingTypeEnum NURSING = new NursingTypeEnum("NURSING", NURSING_VALUE);
    public static final NursingTypeEnum MATERNITY = new NursingTypeEnum("MATERNITY", MATERNITY_VALUE);

    /**
     * construct function
     * @param integer nursingTypeEnum
     */
    private NursingTypeEnum(String name, int nursingTypeEnum)
    {
        super(name, nursingTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static NursingTypeEnum getEnum(String nursingTypeEnum)
    {
        return (NursingTypeEnum)getEnum(NursingTypeEnum.class, nursingTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static NursingTypeEnum getEnum(int nursingTypeEnum)
    {
        return (NursingTypeEnum)getEnum(NursingTypeEnum.class, nursingTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(NursingTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(NursingTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(NursingTypeEnum.class);
    }
}